<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\Events\StudentAdded;
use Illuminate\Support\Facades\Events;

class EventController extends Controller
{
    public function event(){
    	echo "event";

		$name = "ok222222222";

    	event(new StudentAdded($name));
    }
}
